package vo.mixed;

public class Message_Receiver_MixedVo {
	int starred_flag;
	 int message_id;//   | int(11)
	 String receiver_id;//  | varchar(100)
	 int read_flag;//    | int(11)
	 int deleted_flag;// | int(11)
	 String sender_id ;//    | varchar(100)
	 String body         ;// | text
	 String subject       ;//| text
	 int attachment_id;// | int(11)
	 String sent_at;
	 int attachment_count;
	public int getAttachment_count() {
		return attachment_count;
	}
	public void setAttachment_count(int attachment_count) {
		this.attachment_count = attachment_count;
	}
	public int getMessage_id() {
		return message_id;
	}
	public void setMessage_id(int message_id) {
		this.message_id = message_id;
	}
	public String getReceiver_id() {
		return receiver_id;
	}
	public void setReceiver_id(String receiver_id) {
		this.receiver_id = receiver_id;
	}
	public int getRead_flag() {
		return read_flag;
	}
	public void setRead_flag(int read_flag) {
		this.read_flag = read_flag;
	}
	public int getDeleted_flag() {
		return deleted_flag;
	}
	public void setDeleted_flag(int deleted_flag) {
		this.deleted_flag = deleted_flag;
	}
	public String getSender_id() {
		return sender_id;
	}
	public void setSender_id(String sender_id) {
		this.sender_id = sender_id;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		if(subject.length() >= 30)
			this.subject = subject.substring(0, 25).concat(" ...");
		else
			this.subject = subject;
	}
	public int getAttachment_id() {
		return attachment_id;
	}
	public void setAttachment_id(int attachment_id) {
		this.attachment_id = attachment_id;
	}
	public String getSent_at() {
		return sent_at;
	}
	public void setSent_at(String sent_at) {
		this.sent_at = sent_at;
	}
	public int getStarred_flag() {
		return starred_flag;
	}
	public void setStarred_flag(int starred_flag) {
		this.starred_flag = starred_flag;
	}
}
